﻿using System;

namespace Common.Utility
{
    //类名以Attribute结尾,继承于Attribute 
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]//指明作用对象 
    public class QueryColumnNameAttribute : Attribute
    {
        //至少保护一个构造函数 
        public QueryColumnNameAttribute(string name)
        {
            this.CName = name;
        }
        public string CName
        {
            get;
            set;
        }
    }
}
